< previous page page_65 next page >

Page 65
EXERCISE
Adding a Picture Box
1. Place a picture box at the top-right corner of the form.
2. Set the Name property to picMail.
3. Set the AutoSize property to True.
4. Click on the ellipsis (. . .) in the Picture property to load a file from disk.
5. Select the file MAIL01a.ico in the ..\Visual Basic\Graphics\Icons folder. The form should now look like the one shown in Figure 3.9.
8160-0065a.gif
Figure 3.9
A picture control on the Employee Information form.
analysis.gifThe Picture control can give your applications a nice graphical touch of color. Use it sparingly though, because this control takes up some significant memory and other resources.
Examples Filename: Employee7.frm

 
< previous page page_65 next page >

If you like this book, buy it!